<template>
  <div>
    <Item v-for="item of value" :key="item.title" :data="item"/>
  </div>
</template>

<script>
import nowPlaying from "../../models/top250";
import Item from "../../components/Item";
export default {
  data() {
    return {
      value: []
    };
  },
  components: {
    Item
  },
  async mounted() {
    let data = await nowPlaying();
    this.value = data.data.res;
  }
};
</script>

<style scoped>
</style>